home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 3 / ct-rom iiib.zip / ct-rom iiib / WINDOWS / DIVERSEN / WINE02BX / EMACS.1 < prev    next >
Text File  |  1993-03-28  |  51KB  |  1,078 lines

  1. Info file ../info/emacs, produced by Makeinfo, -*- Text -*- from input
  2. file lemacs.tex.
  3.  
  4.    This file documents the GNU Emacs editor.
  5.  
  6.    Copyright (C) 1985, 1986, 1988 Richard M. Stallman.  Copyright (C)
  7. 1991, 1992 Lucid, Inc.
  8.  
  9.    Permission is granted to make and distribute verbatim copies of
  10. this manual provided the copyright notice and this permission notice
  11. are preserved on all copies.
  12.  
  13.    Permission is granted to copy and distribute modified versions of
  14. this manual under the conditions for verbatim copying, provided also
  15. that the sections entitled "The GNU Manifesto", "Distribution" and "GNU
  16. General Public License" are included exactly as in the original, and
  17. provided that the entire resulting derived work is distributed under
  18. the terms of a permission notice identical to this one.
  19.  
  20.    Permission is granted to copy and distribute translations of this
  21. manual into another language, under the above conditions for modified
  22. versions, except that the sections entitled "The GNU Manifesto",
  23. "Distribution" and "GNU General Public License" may be included in a
  24. translation approved by the author instead of in the original English.
  25.  
  26. 
  27. File: emacs,  Node: Top,  Next: Distrib,  Up: (dir)
  28.  
  29.    The Emacs Editor ****************
  30.  
  31.    Emacs is the extensible, customizable, self-documenting real-time
  32. display editor.  This Info file describes how to edit with Emacs and
  33. some of how to customize it, but not how to extend it.
  34.  
  35. * Menu:
  36.  
  37. * License::     The GNU General Public License gives you permission
  38.         to redistribute GNU Emacs on certain terms; and also
  39.         explains that there is no warranty.
  40. * Distrib::     How to get Emacs.
  41. * Intro::       An introduction to Emacs concepts.
  42. * Glossary::    The glossary.
  43. * Manifesto::   What's GNU?  Gnu's Not Unix!
  44.  
  45. Indexes, nodes containing large menus
  46. * Key Index::      An item for each standard Emacs key sequence.
  47. * Command Index::  An item for each command name.
  48. * Variable Index:: An item for each documented variable.
  49. * Concept Index::  An item for each concept.
  50.  
  51. Important General Concepts
  52. * Screen::      How to interpret what you see on the screen.
  53. * Keystrokes::  Keyboard gestures Emacs recognizes.
  54. * Pull-down Menus::
  55.                 The Lucid GNU Emacs Pull-down Menus available under X.
  56. * Mouse Selection::
  57.                 Selecting Text with the Mouse.
  58. * Keystrokes::
  59.                 Using Keystrokes to represent key sequences.
  60. * Commands::    Commands: named functions run by key sequences to do editing.
  61. * Entering Emacs::
  62.                 Starting Emacs from the shell.
  63. * Command Switches::
  64.                 Hairy startup options.
  65. * Exiting::     Stopping or killing Emacs.
  66. * Basic::       The most basic editing commands.
  67. * Undo::        Undoing recently made changes in the text.
  68. * Minibuffer::  Entering arguments that are prompted for.
  69. * M-x::         Invoking commands by their names.
  70. * Help::        Commands for asking Emacs about its commands.
  71.  
  72. Important Text-Changing Commands
  73. * Mark::        The mark: how to delimit a "region" of text.
  74. * Killing::     Killing text.
  75. * Yanking::     Recovering killed text.  Moving text.
  76. * Using X Selections::
  77.                 Using primary selection, cut buffers, and highlighted regions.
  78. * Accumulating Text::
  79.                 Other ways of copying text.
  80. * Rectangles::  Operating on the text inside a rectangle on the screen.
  81. * Registers::   Saving a text string or a location in the buffer.
  82. * Display::     Controlling what text is displayed.
  83. * Search::      Finding or replacing occurrences of a string.
  84. * Fixit::       Commands especially useful for fixing typos.
  85.  
  86. Larger Units of Text
  87. * Files::       All about handling files.
  88. * Buffers::     Multiple buffers; editing several files at once.
  89. * Windows::     Viewing two pieces of text at once.
  90.  
  91. Advanced Features
  92. * Major Modes:: Text mode vs. Lisp mode vs. C mode ...
  93. * Indentation:: Editing the white space at the beginnings of lines.
  94. * Text::        Commands and modes for editing English.
  95. * Programs::    Commands and modes for editing programs.
  96. * Running::     Compiling, running and debugging programs.
  97. * Abbrevs::     How to define text abbreviations to reduce
  98.                  the number of characters you must type.
  99. * Picture::     Editing pictures made up of characters
  100.                  using the quarter-plane screen model.
  101. * Sending Mail::Sending mail in Emacs.
  102. * Rmail::       Reading mail in Emacs.
  103. * Recursive Edit::
  104.                 A command can allow you to do editing
  105.                  "within the command".  This is called a
  106.                  `recursive editing level'.
  107. * Narrowing::   Restricting display and editing to a portion
  108.                  of the buffer.
  109. * Sorting::    Sorting lines, paragraphs or pages within Emacs.
  110. * Shell::       Executing shell commands from Emacs.
  111. * Hardcopy::    Printing buffers or regions.
  112. * Dissociated Press::  Dissociating text for fun.
  113. * CONX::           A different kind of dissociation.
  114. * Amusements::         Various games and hacks.
  115. * Emulation::           Emulating some other editors with Emacs.
  116. * Customization::      Modifying the behavior of Emacs.
  117.  
  118. Recovery from Problems.
  119. * Quitting::    Quitting and aborting.
  120. * Lossage::     What to do if Emacs is hung or malfunctioning.
  121. * Bugs::        How and when to report a bug.
  122.  
  123. Here are some nodes which are inferiors of the ones already listed. They
  124. are mentioned here so you can get to them in one step:
  125.  
  126. Subnodes of Screen
  127. * Point::    The place in the text where editing commands operate.
  128. * Echo Area::   Short messages appear at the bottom of the screen.
  129. * Mode Line::    Interpreting the mode line.
  130.  
  131. Subnodes of Basic
  132. * Blank Lines:: Commands to make or delete blank lines.
  133. * Continuation Lines:: Lines too wide for the screen.
  134. * Position Info::      What page, line, row, or column is point on?
  135. * Arguments::          Giving numeric arguments to commands.
  136.  
  137. Subnodes of Keystrokes
  138. * Representing Keystrokes::  Using lists of modifiers and keysyms to
  139.                              represent keystrokes.
  140. * Key Sequences::            Combine key strokes into key sequences you can
  141.                              bind to commands.
  142. * String Key Sequences::     Available for upward compatibility.
  143. * Meta Key::                 Using ESC to represent Meta
  144. * Super and Hyper Keys::     Adding modifier keys on certain keyboards
  145. * Character Representation:: How characters appear in Emacs buffers.
  146. * Commands::                 How commands are bound to key sequences.
  147.  
  148. Subnodes of Pull-down Menus
  149. * File Menu::           Items on the File menu
  150. * Edit Menu::           Items on the Edit menu
  151. * Buffers Menu::        Information about the Buffers menu
  152. * Help Menu::           Items on the Help menu
  153. * Menu Customization::  Adding and removing menu items and related
  154.                         operations.
  155.  
  156. Subnodes of Minibuffer
  157. * Minibuffer File::    Entering file names with the minibuffer.
  158. * Minibuffer Edit::    How to edit in the minibuffer.
  159. * Completion::  An abbreviation facility for minibuffer input.
  160. * Repetition::  Re-executing previous commands that used the minibuffer.
  161.  
  162. Subnodes of Mark
  163. * Setting Mark::       Commands to set the mark.
  164. * Using Region::       Summary of ways to operate on contents of the region.
  165. * Marking Objects::    Commands to put region around textual units.
  166. * Mark Ring::          Previous mark positions saved so you can go back there.
  167.  
  168. Subnodes of Yanking
  169. * Kill Ring::          Where killed text is stored.  Basic yanking.
  170. * Appending Kills::    Several kills in a row all yank together.
  171. * Earlier Kills::      Yanking something killed some time ago.
  172.  
  173. Subnodes of Registers
  174. * RegPos::             Saving positions in registers.
  175. * RegText::            Saving text in registers.
  176. * RegRect::            Saving rectangles in registers.
  177.  
  178. Subnodes of Display
  179. * Scrolling::               Moving text up and down in a window.
  180. * Horizontal Scrolling::   Moving text left and right in a window.
  181. * Selective Display::      Hiding lines with lots of indentation.
  182. * Display Vars::           Information on variables for customizing display.
  183.  
  184. Subnodes of Search
  185. * Incremental Search::     Search happens as you type the string.
  186. * Non-Incremental Search::  Specify entire string and then search.
  187. * Word Search::        Search for sequence of words.
  188. * Regexp Search::       Search for match for a regexp.
  189. * Regexps::            Syntax of regular expressions.
  190. * Search Case::           To ignore case while searching, or not.
  191. * Replace::            Search, and replace some or all matches.
  192. * Unconditional Replace::  Everything about replacement except for querying.
  193. * Query Replace::          How to use querying.
  194. * Other Repeating Search:: Operating on all matches for some regexp.
  195.  
  196. Subnodes of Fixit
  197. * Kill Errors:: Commands to kill a batch of recently entered text.
  198. * Transpose::   Exchanging two characters, words, lines, lists...
  199. * Fixing Case:: Correcting case of last word entered.
  200.  
  201. * Spelling::    Apply spelling checker to a word, or a whole file.
  202.  
  203. Subnodes of Files
  204. * File Names::  How to type and edit file name arguments.
  205. * Visiting::    Visiting a file prepares Emacs to edit the file.
  206. * Saving::      Saving makes your changes permanent.
  207. * Backup::      How Emacs saves the old version of your file.
  208. * Interlocking::How Emacs protects against simultaneous editing
  209.                  of one file by two users.
  210. * Reverting::   Reverting cancels all the changes not saved.
  211. * Auto Save::   Auto Save periodically protects against loss of data.
  212. * ListDir::     Listing the contents of a file directory.
  213. * Dired::       "Editing" a directory to delete, rename, etc.
  214.                  the files in it.
  215. * Misc File Ops:: Other things you can do on files.
  216.  
  217. Subnodes of Buffers
  218. * Select Buffer::   Creating a new buffer or reselecting an old one.
  219. * List Buffers::    Getting a list of buffers that exist.
  220. * Misc Buffer::     Renaming; changing read-only status.
  221. * Kill Buffer::     Killing buffers you no longer need.
  222. * Several Buffers:: How to go through the list of all buffers
  223.                      and operate variously on several of them.
  224.  
  225. Subnodes of Windows
  226. * Basic Window::    Introduction to Emacs windows.
  227. * Split Window::    New windows are made by splitting existing windows.
  228. * Other Window::    Moving to another window or doing something to it.
  229. * Pop Up Window::   Finding a file or buffer in another window.
  230. * Change Window::   Deleting windows and changing their sizes.
  231.  
  232. Subnodes of Using X Selections
  233. * X Clipboard Selection::     Storing the primary selection.
  234. * Active Regions::  Using zmacs-style highlighting of the selected region.
  235. * X Cut Buffers::   X cut buffers are available for compatibility.
  236.  
  237. Subnodes of Indentation
  238. * Indentation Commands:: Various commands and techniques for indentation.
  239. * Tab Stops::   You can set arbitrary "tab stops" and then
  240.                  indent to the next tab stop when you want to.
  241. * Just Spaces:: You can request indentation using just spaces.
  242.  
  243. Subnodes of Text
  244. * Text Mode::   The major mode for editing text files.
  245. * Nroff Mode::  The major mode for editing input to the formatter nroff.
  246. * TeX Mode::    The major mode for editing input to the formatter TeX.
  247. * Outline Mode::The major mode for editing outlines.
  248. * Words::       Moving over and killing words.
  249. * Sentences::   Moving over and killing sentences.
  250. * Paragraphs::    Moving over paragraphs.
  251. * Pages::    Moving over pages.
  252. * Filling::     Filling or justifying text
  253. * Case::        Changing the case of text
  254.  
  255. Subnodes of Programs
  256. * Program Modes::       Major modes for editing programs.
  257. * Lists::       Expressions with balanced parentheses.
  258.                  There are editing commands to operate on them.
  259. * Defuns::      Each program is made up of separate functions.
  260.                  There are editing commands to operate on them.
  261. * Grinding::    Adjusting indentation to show the nesting.
  262. * Matching::    Insertion of a close-delimiter flashes matching open.
  263. * Comments::    Inserting, illing and aligning comments.
  264. * Balanced Editing::    Inserting two matching parentheses at once, etc.
  265. * Lisp Completion::     Completion on symbol names in Lisp code.
  266. * Documentation::       Getting documentation of functions you plan to call.
  267. * Change Log::  Maintaining a change history for your program.
  268. * Tags::        Go direct to any function in your program in one
  269.                  command.  Tags remembers which file it is in.
  270. * Fortran::    Fortran mode and its special features.
  271.  
  272. Subnodes of Running
  273. * Compilation::       Compiling programs in languages other than Lisp
  274.                        (C, Pascal, etc.)
  275. * Lisp Modes::        Various modes for editing Lisp programs, with
  276.                        different facilities for running the Lisp programs.
  277. * Lisp Libraries::    Creating Lisp programs to run in Emacs.
  278. * Lisp Interaction::  Executing Lisp in an Emacs buffer.
  279. * Lisp Eval::         Executing a single Lisp expression in Emacs.
  280. * Lisp Debug::        Debugging Lisp programs running in Emacs.
  281. * External Lisp::     Communicating through Emacs with a separate Lisp.
  282.  
  283. Subnodes of Abbrevs
  284. * Defining Abbrevs::  Defining an abbrev, so it will expand when typed.
  285. * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion.
  286. * Editing Abbrevs::   Viewing or editing the entire list of defined abbrevs.
  287. * Saving Abbrevs::    Saving the entire list of abbrevs for another session.
  288. * Dynamic Abbrevs::   Abbreviations for words already in the buffer.
  289.  
  290. Subnodes of Picture
  291. * Basic Picture::     Basic concepts and simple commands of Picture Mode.
  292. * Insert in Picture:: Controlling direction of cursor motion
  293.                        after "self-inserting" characters.
  294. * Tabs in Picture::   Various features for tab stops and indentation.
  295. * Rectangles in Picture:: Clearing and superimposing rectangles.
  296.  
  297. Subnodes of Sending Mail
  298. * Mail Format::       Format of the mail being composed.
  299. * Mail Headers::      Details of allowed mail header fields.
  300. * Mail Mode::         Special commands for editing mail being composed.
  301.  
  302. Subnodes of Rmail
  303. * Rmail Scrolling::   Scrolling through a message.
  304. * Rmail Motion::      Moving to another message.
  305. * Rmail Deletion::    Deleting and expunging messages.
  306. * Rmail Inbox::       How mail gets into the Rmail file.
  307. * Rmail Files::       Using multiple Rmail files.
  308. * Rmail Output::      Copying message out to files.
  309. * Rmail Labels::      Classifying messages by labeling them.
  310. * Rmail Summary::     Summaries show brief info on many messages.
  311. * Rmail Reply::       Sending replies to messages you are viewing.
  312. * Rmail Editing::     Editing message text and headers in Rmail.
  313. * Rmail Digest::      Extracting the messages from a digest message.
  314.  
  315. Subnodes of Shell
  316. * Single Shell::      Commands to run one shell command and return.
  317. * Interactive Shell:: Permanent shell taking input via Emacs.
  318. * Shell Mode::        Special Emacs commands used with permanent shell.
  319.  
  320. Subnodes of Customization
  321. * Minor Modes::       Each minor mode is one feature you can turn on
  322.                        independently of any others.
  323. * Variables::         Many Emacs commands examine Emacs variables
  324.                        to decide what to do; by setting variables,
  325.                        you can control their functioning.
  326. * Examining::         Examining or setting one variable's value.
  327. * Edit Options::      Examining or editing list of all variables' values.
  328. * Locals::            Per-buffer values of variables.
  329. * File Variables::    How files can specify variable values.
  330. * Keyboard Macros::   A keyboard macro records a sequence of keystrokes
  331.                        to be replayed with a single command.
  332. * Key Bindings::      The keymaps say what command each key runs.
  333.                        By changing them, you can "redefine keys".
  334. * Keymaps::           Definition of the keymap data structure.
  335. * Rebinding::         How to redefine one key's meaning conveniently.
  336. * Disabling::         Disabling a command means confirmation is required
  337.                        before it can be executed.  This is done to protect
  338.                        beginners from surprises.
  339. * Syntax::            The syntax table controls how words and expressions
  340.                        are parsed.
  341. * Init File::         How to write common customizations in the `.emacs'
  342.                        file.
  343. * Audible Bell::      Changing how Emacs sound the bell.
  344. * Faces::
  345.                       Changing the fonts and colors of a region of text.
  346.  
  347. Subnodes of Lossage (and recovery)
  348. * Stuck Recursive::   `[...]' in mode line around the parentheses.
  349. * Screen Garbled::    Garbage on the screen.
  350. * Text Garbled::      Garbage in the text.
  351. * Unasked-for Search::Spontaneous entry to incremental search.
  352. * Emergency Escape::  Emergency escape--
  353.                        What to do if Emacs stops responding.
  354. * Total Frustration:: When you are at your wits' end.
  355.  
  356. 
  357. File: emacs,  Node: Distrib,  Next: License,  Prev: Top,  Up: Top
  358.  
  359. Distribution
  360. ************
  361.  
  362.    Lucid GNU Emacs is "free"; this means that everyone is free to use
  363. it and free to redistribute it on a free basis.  Lucid GNU Emacs is
  364. not in the public domain; it is copyrighted and there are restrictions
  365. on its distribution, but these restrictions are designed to permit
  366. everything that a good cooperating citizen would want to do.  What is
  367. not allowed is to try to prevent others from further sharing any
  368. version of GNU Emacs that they might get from you.  The precise
  369. conditions are found in the GNU General Public License that comes with
  370. Emacs and also appears following this section.
  371.  
  372.    The easiest way to get a copy of GNU Emacs is from someone else who
  373. has it.  You need not ask for permission to do so, or tell any one
  374. else; just copy it.
  375.  
  376.    If you have access to the Internet, you can send mail to Lucid and
  377. we will send you information on how you can get a copy. Since the
  378. information may change, we are asking you to send mail rather than
  379. giving you instructions on how to get the copy. The email address is:
  380.  
  381.      emacs-distribution@lucid.com
  382.  
  383.    If you do not have access to the Internet, you can send mail to
  384. Lucid and we will send back instructions on how to obtain a copy. The
  385. address is:
  386.  
  387.      Emacs Distribution
  388.      Lucid, Inc.
  389.      707 Laurel Street
  390.      Menlo Park, California 94025
  391.  
  392. Getting Earlier Versions of GNU Emacs
  393. =====================================
  394.  
  395.    Lucid GNU Emacs, the version of Emacs described in this manual, is
  396. not distributed by the Free Software Foundation. You can, however,
  397. still get other versions of Emacs from there.
  398.  
  399.    If you have access to the Internet, you can get the latest
  400. distribution version of GNU Emacs from host `prep.ai.mit.edu' using
  401. anonymous login.  See the file `/u2/emacs/GETTING.GNU.SOFTWARE' on
  402. that host to find out about your options for copying and which files
  403. to use.
  404.  
  405.    You may also receive GNU Emacs when you buy a computer.  Computer
  406. manufacturers are free to distribute copies on the same terms that
  407. apply to everyone else.  These terms require them to give you the full
  408. sources, including whatever changes they may have made, and to permit
  409. you to redistribute the GNU Emacs received from them under the usual
  410. terms of the General Public License.  In other words, the program must
  411. be free for you when you get it, not just free for the manufacturer.
  412.  
  413.    If you cannot get a copy in any of those ways, you can order one
  414. from the Free Software Foundation.  Though Emacs itself is free, the
  415. Free Software Foundation's distribution service is not.  An order form
  416. is included in the file `etc/DISTRIB' in the Emacs distribution.  For
  417. further information, write to
  418.  
  419.      Free Software Foundation
  420.      675 Mass Ave
  421.      Cambridge, MA 02139
  422.      USA
  423.  
  424.    The income from distribution fees goes to support the foundation's
  425. purpose: the development of more free software to distribute just like
  426. GNU Emacs.
  427.  
  428.    If you find GNU Emacs useful, please send a donation to the Free
  429. Software Foundation.  This will help support development of the rest
  430. of the GNU system, and other useful software beyond that.  Your
  431. donation is tax deductible.
  432.  
  433. 
  434. File: emacs,  Node: License,  Next: Intro,  Prev: Distrib,  Up: Top
  435.  
  436. GNU GENERAL PUBLIC LICENSE
  437. **************************
  438.  
  439.                            Version 1, February 1989
  440.  
  441.      Copyright (C) 1989 Free Software Foundation, Inc.
  442.      675 Mass Ave, Cambridge, MA 02139, USA
  443.      
  444.      Everyone is permitted to copy and distribute verbatim copies
  445.      of this license document, but changing it is not allowed.
  446.  
  447. Preamble
  448. ========
  449.  
  450.    The license agreements of most software companies try to keep users
  451. at the mercy of those companies.  By contrast, our General Public
  452. License is intended to guarantee your freedom to share and change free
  453. software--to make sure the software is free for all its users.  The
  454. General Public License applies to the Free Software Foundation's
  455. software and to any other program whose authors commit to using it. 
  456. You can use it for your programs, too.
  457.  
  458.    When we speak of free software, we are referring to freedom, not
  459. price.  Specifically, the General Public License is designed to make
  460. sure that you have the freedom to give away or sell copies of free
  461. software, that you receive source code or can get it if you want it,
  462. that you can change the software or use pieces of it in new free
  463. programs; and that you know you can do these things.
  464.  
  465.    To protect your rights, we need to make restrictions that forbid
  466. anyone to deny you these rights or to ask you to surrender the rights. 
  467. These restrictions translate to certain responsibilities for you if you
  468. distribute copies of the software, or if you modify it.
  469.  
  470.    For example, if you distribute copies of a such a program, whether
  471. gratis or for a fee, you must give the recipients all the rights that
  472. you have.  You must make sure that they, too, receive or can get the
  473. source code.  And you must tell them their rights.
  474.  
  475.    We protect your rights with two steps: (1) copyright the software,
  476. and (2) offer you this license which gives you legal permission to
  477. copy, distribute and/or modify the software.
  478.  
  479.    Also, for each author's protection and ours, we want to make certain
  480. that everyone understands that there is no warranty for this free
  481. software.  If the software is modified by someone else and passed on,
  482. we want its recipients to know that what they have is not the
  483. original, so that any problems introduced by others will not reflect
  484. on the original authors' reputations.
  485.  
  486.    The precise terms and conditions for copying, distribution and
  487. modification follow.
  488.  
  489.                              TERMS AND CONDITIONS
  490.  
  491.   1. This License Agreement applies to any program or other work which
  492.      contains a notice placed by the copyright holder saying it may be
  493.      distributed under the terms of this General Public License.  The
  494.      "Program", below, refers to any such program or work, and a "work
  495.      based on the Program" means either the Program or any work
  496.      containing the Program or a portion of it, either verbatim or
  497.      with modifications.  Each licensee is addressed as "you".
  498.  
  499.   2. You may copy and distribute verbatim copies of the Program's
  500.      source code as you receive it, in any medium, provided that you
  501.      conspicuously and appropriately publish on each copy an
  502.      appropriate copyright notice and disclaimer of warranty; keep
  503.      intact all the notices that refer to this General Public License
  504.      and to the absence of any warranty; and give any other recipients
  505.      of the Program a copy of this General Public License along with
  506.      the Program.  You may charge a fee for the physical act of
  507.      transferring a copy.
  508.  
  509.   3. You may modify your copy or copies of the Program or any portion
  510.      of it, and copy and distribute such modifications under the terms
  511.      of Paragraph 1 above, provided that you also do the following:
  512.  
  513.         * cause the modified files to carry prominent notices stating
  514.           that you changed the files and the date of any change; and
  515.  
  516.         * cause the whole of any work that you distribute or publish,
  517.           that in whole or in part contains the Program or any part
  518.           thereof, either with or without modifications, to be
  519.           licensed at no charge to all third parties under the terms
  520.           of this General Public License (except that you may choose
  521.           to grant warranty protection to some or all third parties,
  522.           at your option).
  523.  
  524.         * If the modified program normally reads commands
  525.           interactively when run, you must cause it, when started
  526.           running for such interactive use in the simplest and most
  527.           usual way, to print or display an announcement including an
  528.           appropriate copyright notice and a notice that there is no
  529.           warranty (or else, saying that you provide a warranty) and
  530.           that users may redistribute the program under these
  531.           conditions, and telling the user how to view a copy of this
  532.           General Public License.
  533.  
  534.         * You may charge a fee for the physical act of transferring a
  535.           copy, and you may at your option offer warranty protection in
  536.           exchange for a fee.
  537.  
  538.              Mere aggregation of another independent work with the Program
  539.      (or its derivative) on a volume of a storage or distribution
  540.      medium does not bring the other work under the scope of these
  541.      terms.
  542.  
  543.   4. You may copy and distribute the Program (or a portion or
  544.      derivative of it, under Paragraph 2) in object code or executable
  545.      form under the terms of Paragraphs 1 and 2 above provided that
  546.      you also do one of the following:
  547.  
  548.         * accompany it with the complete corresponding machine-readable
  549.           source code, which must be distributed under the terms of
  550.           Paragraphs 1 and 2 above; or,
  551.  
  552.         * accompany it with a written offer, valid for at least three
  553.           years, to give any third party free (except for a nominal
  554.           charge for the cost of distribution) a complete
  555.           machine-readable copy of the corresponding source code, to
  556.           be distributed under the terms of Paragraphs 1 and 2 above;
  557.           or,
  558.  
  559.         * accompany it with the information you received as to where
  560.           the corresponding source code may be obtained.  (This
  561.           alternative is allowed only for noncommercial distribution
  562.           and only if you received the program in object code or
  563.           executable form alone.)
  564.  
  565.              Source code for a work means the preferred form of the work
  566.      for making modifications to it.  For an executable file, complete
  567.      source code means all the source code for all modules it
  568.      contains; but, as a special exception, it need not include source
  569.      code for modules which are standard libraries that accompany the
  570.      operating system on which the executable file runs, or for
  571.      standard header files or definitions files that accompany that
  572.      operating system.
  573.  
  574.   5. You may not copy, modify, sublicense, distribute or transfer the
  575.      Program except as expressly provided under this General Public
  576.      License.  Any attempt otherwise to copy, modify, sublicense,
  577.      distribute or transfer the Program is void, and will
  578.      automatically terminate your rights to use the Program under this
  579.      License.  However, parties who have received copies, or rights to
  580.      use copies, from you under this General Public License will not
  581.      have their licenses terminated so long as such parties remain in
  582.      full compliance.
  583.  
  584.   6. By copying, distributing or modifying the Program (or any work
  585.      based on the Program) you indicate your acceptance of this
  586.      license to do so, and all its terms and conditions.
  587.  
  588.   7. Each time you redistribute the Program (or any work based on the
  589.      Program), the recipient automatically receives a license from the
  590.      original licensor to copy, distribute or modify the Program
  591.      subject to these terms and conditions.  You may not impose any
  592.      further restrictions on the recipients' exercise of the rights
  593.      granted herein.
  594.  
  595.   8. The Free Software Foundation may publish revised and/or new
  596.      versions of the General Public License from time to time.  Such
  597.      new versions will be similar in spirit to the present version,
  598.      but may differ in detail to address new problems or concerns.
  599.  
  600.         Each version is given a distinguishing version number.  If the
  601.      Program specifies a version number of the license which applies
  602.      to it and "any later version", you have the option of following
  603.      the terms and conditions either of that version or of any later
  604.      version published by the Free Software Foundation.  If the
  605.      Program does not specify a version number of the license, you may
  606.      choose any version ever published by the Free Software Foundation.
  607.  
  608.   9. If you wish to incorporate parts of the Program into other free
  609.      programs whose distribution conditions are different, write to
  610.      the author to ask for permission.  For software which is
  611.      copyrighted by the Free Software Foundation, write to the Free
  612.      Software Foundation; we sometimes make exceptions for this.  Our
  613.      decision will be guided by the two goals of preserving the free
  614.      status of all derivatives of our free software and of promoting
  615.      the sharing and reuse of software generally.
  616.  
  617.                                       NO WARRANTY
  618.  
  619.  10. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
  620.      WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
  621.      LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  622.      HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
  623.      WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
  624.      NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  625.      FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  626.      QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  627.      PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  628.      SERVICING, REPAIR OR CORRECTION.
  629.  
  630.  11. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  631.      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
  632.      MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
  633.      LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  634.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
  635.      INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS
  636.      OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  637.      YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH
  638.      ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
  639.      ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  640.  
  641.                          END OF TERMS AND CONDITIONS
  642.  
  643. Appendix: How to Apply These Terms to Your New Programs
  644. =======================================================
  645.  
  646.    If you develop a new program, and you want it to be of the greatest
  647. possible use to humanity, the best way to achieve this is to make it
  648. free software which everyone can redistribute and change under these
  649. terms.
  650.  
  651.    To do so, attach the following notices to the program.  It is
  652. safest to attach them to the start of each source file to most
  653. effectively convey the exclusion of warranty; and each file should
  654. have at least the "copyright" line and a pointer to where the full
  655. notice is found.
  656.  
  657.      ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES.
  658.      Copyright (C) 19YY  NAME OF AUTHOR
  659.      
  660.      This program is free software; you can redistribute it and/or modify
  661.      it under the terms of the GNU General Public License as published by
  662.      the Free Software Foundation; either version 1, or (at your option)
  663.      any later version.
  664.      
  665.      This program is distributed in the hope that it will be useful,
  666.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  667.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  668.      GNU General Public License for more details.
  669.      
  670.      You should have received a copy of the GNU General Public License
  671.      along with this program; if not, write to the Free Software
  672.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  673.  
  674.    Also add information on how to contact you by electronic and paper
  675. mail.
  676.  
  677.    If the program is interactive, make it output a short notice like
  678. this when it starts in an interactive mode:
  679.  
  680.      Gnomovision version 69, Copyright (C) 19YY NAME OF AUTHOR
  681.      Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  682.      This is free software, and you are welcome to redistribute it
  683.      under certain conditions; type `show c' for details.
  684.  
  685.    The hypothetical commands `show w' and `show c' should show the
  686. appropriate parts of the General Public License.  Of course, the
  687. commands you use may be called something other than `show w' and `show
  688. c'; they could even be mouse-clicks or menu items--whatever suits your
  689. program.
  690.  
  691.    You should also get your employer (if you work as a programmer) or
  692. your school, if any, to sign a "copyright disclaimer" for the program,
  693. if necessary.  Here a sample; alter the names:
  694.  
  695.      Yoyodyne, Inc., hereby disclaims all copyright interest in the
  696.      program `Gnomovision' (a program to direct compilers to make passes
  697.      at assemblers) written by James Hacker.
  698.      
  699.      SIGNATURE OF TY COON, 1 April 1989
  700.      Ty Coon, President of Vice
  701.  
  702.    That's all there is to it!
  703.  
  704. 
  705. File: emacs,  Node: Intro,  Next: Glossary,  Prev: License,  Up: Top
  706.  
  707. Introduction
  708. ************
  709.  
  710.    You are reading about GNU Emacs, the GNU incarnation of the
  711. advanced, self-documenting, customizable, extensible real-time display
  712. editor Emacs.  (The `G' in `GNU' is not silent.)
  713.  
  714.    We say that Emacs is a "display" editor because normally the text
  715. being edited is visible on the screen and is updated automatically as
  716. you type.  *Note Display: Screen.
  717.  
  718.    We call Emacs a "real-time" editor because the display is updated
  719. very frequently, usually after each character or pair of characters you
  720. type.  This minimizes the amount of information you must keep in your
  721. head as you edit.  *Note Real-time: Basic.
  722.  
  723.    We call Emacs advanced because it provides facilities that go beyond
  724. simple insertion and deletion: filling of text; automatic indentation
  725. of programs; viewing two or more files at once; and dealing in terms of
  726. characters, words, lines, sentences, paragraphs, and pages, as well as
  727. expressions and comments in several different programming languages. 
  728. It is much easier to type one command meaning "go to the end of the
  729. paragraph" than to find that spot with simple cursor keys.
  730.  
  731.    "Self-documenting" means that at any time you can type a special
  732. character, `Control-h', to find out what your options are.  You can
  733. also use `C-h' to find out what a command does, or to find all the
  734. commands relevant to a topic.  *Note Help::.
  735.  
  736.    "Customizable" means you can change the definitions of Emacs
  737. commands.  For example, if you use a programming language in which
  738. comments start with `<**' and end with `**>', you can tell the Emacs
  739. comment manipulation commands to use those strings (*note
  740. Comments::.).  Another sort of customization is rearrangement of the
  741. command set.  For example, you can set up the four basic cursor motion
  742. commands (up, down, left and right) on keys in a diamond pattern on the
  743. keyboard if you prefer.  *Note Customization::.
  744.  
  745.    "Extensible" means you can go beyond simple customization and write
  746. entirely new commands, programs in the Lisp language to be run by
  747. Emacs's own Lisp interpreter.  Emacs is an "on-line extensible"
  748. system: it is divided into many functions that call each other.  You
  749. can redefine any function in the middle of an editing session and
  750. replace any part of Emacs without making a separate copy of all of
  751. Emacs.  Most of the editing commands of Emacs are written in Lisp; the
  752. few exceptions could have been written in Lisp but are written in C for
  753. efficiency.  Only a programmer can write an extension to Emacs, but
  754. anybody can use it afterward.
  755.  
  756. 
  757. File: emacs,  Node: Screen,  Next: Keystrokes,  Prev: Concept Index,  Up: Top
  758.  
  759. The Emacs Screen
  760. ****************
  761.  
  762.    Since Emacs was developed on environments that only had one window
  763. taking up the whole screen, the terminology used here reflects those
  764. environments:
  765.  
  766. Screen
  767.      In many environments, such as a tty terminal, an Emacs screen
  768.      literally takes up the whole screen.  If you are running Emacs in
  769.      a multi-window system like the X Window System, the Emacs screen
  770.      takes up one X window.  *Note Emacs under X::, for more
  771.      information.
  772.  
  773. Window
  774.      No matter what environment you are running in, Emacs allows you
  775.      to look at several buffers at the same time by having several
  776.      windows be part of the screen.  Often, the whole screen is taken
  777.      up by just one window, but you can split the screen into two or
  778.      more subwindows.  If you are running Emacs under the X window
  779.      system, that means you can have several "Emacs windows" inside
  780.      the X window that contains the Emacs screen.  You can even have
  781.      multiple screens in different X windows, each with their own set
  782.      of subwindows.
  783.  
  784.    Each Emacs screen displays a variety of information:
  785.  
  786.    * The biggest area usually displays the text you are editing.  It
  787.      may consist of one window or of two windows or more if you need
  788.      to look at two buffers a the same time.
  789.  
  790.    * Below each text window's last line is a "mode line" (*note Mode
  791.      Line::.), which describes what is going on in that window.  The
  792.      mode line is in inverse video if the terminal supports that.  If
  793.      there are several Emacs windows in one screen, each window has
  794.      its own mode line.
  795.  
  796.    * At the bottom of each Emacs screen is the "echo area" or
  797.      "minibuffer window"(*note Echo Area::.).  It is used by Emacs to
  798.      exchange information with the user.  There is only one echo area
  799.      per Emacs screen.
  800.  
  801.    * If you are running Lucid GNU  Emacs under the X Window System, a
  802.      menu bar at the top of the screen makes shortcuts to several of
  803.      the commands available (*note Pull-down Menus::.).
  804.  
  805.    You can subdivide the Emacs screen into multiple text windows, and
  806. use each window for a different file (*note Windows::.).  Multiple
  807. Emacs windows are tiled vertically on the Emacs screen.  The upper
  808. Emacs window is separated from the lower window by its mode line.
  809.  
  810.    When there are multiple, tiled Emacs windows on a single Emacs
  811. screen, the Emacs window receiving input from the keyboard has the
  812. "keyboard focus" and is called the "selected window".  The selected
  813. window contains the cursor which indicates the insertion point.  If
  814. you are working in an environment that permits multiple Emacs screens,
  815. and you move the focus from one Emacs screen into another, the
  816. selected window is the one that was last selected in that screen.
  817.  
  818.    The same text can be displayed simultaneously in several Emacs
  819. windows, which can be in different Emacs screens.  If you alter the
  820. text in an Emacs buffer by editing it in one Emacs window, the changes
  821. are visible in all Emacs windows containing that buffer.
  822.  
  823. * Menu:
  824.  
  825. * Point::            The place in the text where editing commands operate.
  826. * Echo Area::           Short messages appear at the bottom of the screen.
  827. * Mode Line::            Interpreting the mode line.
  828. * Emacs under X::       Some information on Using Emacs under the X
  829.                         Window System.
  830. * Pull-down Menus::     Menus available in Lucid GNU Emacs
  831.  
  832. 
  833. File: emacs,  Node: Emacs under X,  Prev: Screen,  Up: Screen
  834.  
  835. Using Emacs under the X Window System
  836. =====================================
  837.  
  838.    Lucid GNU Emacs can be used with the X Window System and a window
  839. manager like MWM or TWM.  In that case, the X Window System window
  840. manager opens, closes, and resizes Emacs screens.  You use the window
  841. manager's mouse gestures to perform the operations.  Consult your
  842. window manager guide or reference manual for information on
  843. manipulating X windows.
  844.  
  845.    When you are working under X, each X window (that is, each Emacs
  846. screen) has a menu bar for mouse-controlled operations (*note
  847. Pull-down Menus::.).
  848.  
  849.    Emacs under X is also a multi-screen Emacs.  You can call the
  850. function `x-new-screen' or use the New Screen menu item from the File
  851. menu to create a new Emacs screen in a new X window from the same
  852. process.  The different screens will share the same buffer list, but
  853. you can look at different buffers in the different screens. You can
  854. control the number of screens associated with the current display, by
  855. setting the variable `x-screen-count'.
  856.  
  857.    The function `find-file-new-screen' is just like `find-file', but
  858. creates a new screen to display the buffer in first.
  859.  
  860.    The function `switch-to-buffer-new-screen' is just like
  861. `switch-to-buffer', but creates a new screen to display the buffer in
  862. first.
  863.  
  864.    You can specify a different default screen size other than the one
  865. provided. Use the variable `screen-default-alist', which is an alist
  866. of default values for screen creation other than the first one.  These
  867. may be set in your init file, like this:
  868.  
  869.        (setq screen-default-alist ((width . 80) (height . 55)))
  870.  
  871.    For values specific to the first Emacs screen, you must use X
  872. resources.  The variable `x-screen-defaults' takes an alist of default
  873. screen creation parameters for X window screens.  These override what
  874. is specified in `~/.Xdefaults' but are overridden by the arguments to
  875. the particular call to `x-create-screen'.
  876.  
  877.    When you create a new screen, the variable `create-screen-hook'
  878. causes the screen to be displayed with a menubar. The variable takes a
  879. function with one argument, SCREEN, that is called with each newly
  880. created screen.
  881.  
  882.    If you want to close one or more of the X windows you created using
  883. New Screen, use the Close menu item from the File menu.
  884.  
  885.    If you are working with multiple screens, some special information
  886. applies:
  887.  
  888.    * `screen-icon-title-format' determine the title of the screen and
  889.      the title of the icon that results if you shrink the screen.
  890.  
  891.    * `auto-raise-screen' position a screen. If true,
  892.      `auto-lower-screen' lowers a screen to the bottom when it is no
  893.      longer selected. If true, `auto-raise-screen' raises a screen to
  894.      the top when it is selected. Under X, most ICCCM-compliant window
  895.      managers will have options to do this for you, but these
  896.      variables are provided in case you are using a broken window
  897.      manager.
  898.  
  899.    * to the name of the current screen (a screen's name is distinct
  900.      from its title; the name is used for resource lookup, among other
  901.      things, and the title is simply what appears above the window.)
  902.  
  903. 
  904. File: emacs,  Node: Echo Area,  Next: Mode Line,  Prev: Point,  Up: Screen
  905.  
  906. The Echo Area
  907. =============
  908.  
  909.    The line at the bottom of the screen (below the mode line) is the
  910. "echo area".  Emacs uses this area to communicate with the user:
  911.  
  912.    *   "Echoing" means printing out the characters that the user
  913.      types.  Emacs never echoes single-character commands. 
  914.      Multi-character commands are echoed only if you pause while
  915.      typing them: As soon as you pause for more than one second in the
  916.      middle of a command, all the characters of the command so far are
  917.      echoed.  This is intended to "prompt" you for the rest of the
  918.      command.  Once echoing has started, the rest of the command is
  919.      echoed immediately as you type it.  This behavior is designed to
  920.      give confident users fast response, while giving hesitant users
  921.      maximum feedback.  You can change this behavior by setting a
  922.      variable (*note Display Vars::.).
  923.  
  924.    *   If you issue a command that cannot be executed, Emacs may print
  925.      an "error message" in the echo area.  Error messages are
  926.      accompanied by a beep or by flashing the screen.  Any input you
  927.      have typed ahead is thrown away when an error happens.
  928.  
  929.    *   Some commands print informative messages in the echo area. 
  930.      These messages look similar to error messages, but are not
  931.      announced with a beep and do not throw away input.  Sometimes a
  932.      message tells you what the command has done, when this is not
  933.      obvious from looking at the text being edited.  Sometimes the
  934.      sole purpose of a command is to print a message giving you
  935.      specific information.  For example, the command `C-x =' is used
  936.      to print a message describing the character position of point in
  937.      the text and its current column in the window.  Commands that
  938.      take a long time often display messages ending in `...' while
  939.      they are working, and add `done' at the end when they are
  940.      finished.
  941.  
  942.    *   The echo area is also used to display the "minibuffer", a window
  943.      that is used for reading arguments to commands, such as the name
  944.      of a file to be edited.  When the minibuffer is in use, the echo
  945.      area displays with a prompt string that usually ends with a
  946.      colon.  The cursor appears after the prompt.  You can always get
  947.      out of the minibuffer by typing `C-g'.  *Note Minibuffer::.
  948.  
  949. 
  950. File: emacs,  Node: Mode Line,  Prev: Echo Area,  Up: Screen
  951.  
  952. The Mode Line
  953. =============
  954.  
  955.    Each text window's last line is a "mode line" which describes what
  956. is going on in that window.  When there is only one text window, the
  957. mode line appears right above the echo area.  The mode line is in
  958. inverse video if the terminal supports that, starts and ends with
  959. dashes, and contains text like `Emacs: SOMETHING'.
  960.  
  961.    If a mode line has something else in place of `Emacs: SOMETHING',
  962. the window above it is in a special subsystem such as Dired.  The mode
  963. line then indicates the status of the subsystem.
  964.  
  965.    Normally, the mode line has the following appearance:
  966.  
  967.      --CH-Emacs: BUF      (MAJOR MINOR)----POS------
  968.  
  969. This gives information about the buffer being displayed in the window:
  970. the buffer's name, what major and minor modes are in use, whether the
  971. buffer's text has been changed, and how far down the buffer you are
  972. currently looking.
  973.  
  974.    CH contains two stars `**' if the text in the buffer has been
  975. edited (the buffer is "modified"), or `--' if the buffer has not been
  976. edited.  Exception: for a read-only buffer, it is `%%'.
  977.  
  978.    BUF is the name of the window's chosen "buffer".  The chosen buffer
  979. in the selected window (the window that the cursor is in) is also
  980. Emacs's selected buffer, the buffer in which editing takes place.  When
  981. we speak of what some command does to "the buffer", we mean the
  982. currently selected buffer.  *Note Buffers::.
  983.  
  984.    POS tells you whether there is additional text above the top of the
  985. screen, or below the bottom.  If your file is small and it is
  986. completely visible on the screen, POS is `All'.  Otherwise, POS is
  987. `Top' if you are looking at the beginning of the file, `Bot' if you
  988. are looking at the end of the file, or `NN%', where NN is the
  989. percentage of the file above the top of the screen.
  990.  
  991.    MAJOR is the name of the "major mode" in effect in the buffer.  At
  992. any time, each buffer is in one and only one major mode.  The
  993. available major modes include Fundamental mode (the least specialized),
  994. Text mode, Lisp mode, and C mode.  *Note Major Modes::, for details on
  995. how the modes differ and how you select one.
  996.  
  997.    MINOR is a list of some of the "minor modes" that are turned on in
  998. the window's chosen buffer.  For example, `Fill' means that Auto Fill
  999. mode is on.  `Abbrev' means that Word Abbrev mode is on.  `Ovwrt'
  1000. means that Overwrite mode is on.  *Note Minor Modes::, for more
  1001. information.  `Narrow' means that the buffer being displayed has
  1002. editing restricted to only a portion of its text.  This is not really a
  1003. minor mode, but is like one.  *Note Narrowing::.  `Def' means that a
  1004. keyboard macro is being defined.  *Note Keyboard Macros::.
  1005.  
  1006.    Some buffers display additional information after the minor modes. 
  1007. For example, Rmail buffers display the current message number and the
  1008. total number of messages.  Compilation buffers and Shell mode display
  1009. the status of the subprocess.
  1010.  
  1011.    If Emacs is currently inside a recursive editing level, square
  1012. brackets (`[...]') appear around the parentheses that surround the
  1013. modes.  If Emacs is in one recursive editing level within another,
  1014. double square brackets appear, and so on.  Since information on
  1015. recursive editing applies to Emacs in general and not to any one
  1016. buffer, the square brackets appear in every mode line on the screen or
  1017. not in any of them.  *Note Recursive Edit::.
  1018.  
  1019.    Emacs can optionally display the time and system load in all mode
  1020. lines.  To enable this feature, type `M-x display-time'.  The
  1021. information added to the mode line usually appears after the file
  1022. name, before the mode names and their parentheses.  It looks like this:
  1023.  
  1024.      HH:MMpm L.LL [D]
  1025.  
  1026. (Some fields may be missing if your operating system cannot support
  1027. them.) HH and MM are the hour and minute, followed always by `am' or
  1028. `pm'.  L.LL is the average number of running processes in the whole
  1029. system recently.  D is an approximate index of the ratio of disk
  1030. activity to cpu activity for all users.
  1031.  
  1032.    The word `Mail' appears after the load level if there is mail for
  1033. you that you have not read yet.
  1034.  
  1035.    Customization note: the variable `mode-line-inverse-video' controls
  1036. whether the mode line is displayed in inverse video (assuming the
  1037. terminal supports it); `nil' means no inverse video.  The default
  1038. is`t'.  For X screens, simply set the foreground and background colors
  1039. appropriately.
  1040.  
  1041. 
  1042. File: emacs,  Node: Point,  Next: Echo Area,  Prev: Screen,  Up: Screen
  1043.  
  1044. Point
  1045. =====
  1046.  
  1047.    When Emacs is running, the cursor shows the location at which
  1048. editing commands will take effect.  This location is called "point". 
  1049. You can use keystrokes or the mouse cursor to move point through the
  1050. text and edit the text at different places.
  1051.  
  1052.    While the cursor appears to point AT a character, you should think
  1053. of point as BETWEEN two characters: it points BEFORE the character on
  1054. which the cursor appears.  Sometimes people speak of "the cursor" when
  1055. they mean "point", or speak of commands that move point as "cursor
  1056. motion" commands.
  1057.  
  1058.    Each Emacs screen has only one cursor.  When output is in progress,
  1059. the cursor must appear where the typing is being done.  This does not
  1060. mean that point is moving.  It is only that Emacs has no way to show
  1061. you the location of point except when the terminal is idle.
  1062.  
  1063.    If you are editing several files in Emacs, each file has its own
  1064. point location.  A file that is not being displayed remembers where
  1065. point is.  Point becomes visible at the correct location when you look
  1066. at the file again.
  1067.  
  1068.    When there are multiple text windows, each window has its own point
  1069. location.  The cursor shows the location of point in the selected
  1070. window.  The visible cursor also shows you which window is selected. 
  1071. If the same buffer appears in more than one window, point can be moved
  1072. in each window independently.
  1073.  
  1074.    The term `point' comes from the character `.', which was the
  1075. command in TECO (the language in which the original Emacs was written)
  1076. for accessing the value now called `point'.
  1077.  
  1078.